home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 1 / Cream of the Crop 1.iso / PRINTER / 4PRINT41.ARJ / ADDENDUM.DOC < prev    next >
Text File  |  1991-08-20  |  87KB  |  2,127 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.                     ▄                         TM  ▄        ▄ 
  12.                     █  █  █▀▀█      ▀       █     █  █    ▀█ 
  13.                     █▄▄█▄ █▄▄█ █▀▀█ █ █▀▀█ ▀█▀    █▄▄█▄    █ 
  14.                        █  █    █    █ █  █  █        █     █ 
  15.                        ▀  ▀    ▀    ▀ ▀  ▀  ▀▀       ▀  ▀ ▀▀▀
  16.  
  17.                     █▀▀▀█    █    █              █           
  18.                     █▄▄▄█ █▀▀█ █▀▀█ █▀▀█ █▀▀█ █▀▀█ █  █ █▀█▀█
  19.                     █   █ █  █ █  █ █▀▀▀ █  █ █  █ █  █ █ █ █
  20.                     ▀   ▀ ▀▀▀▀ ▀▀▀▀ ▀▀▀▀ ▀  ▀ ▀▀▀▀ ▀▀▀▀ ▀ ▀ ▀
  21.  
  22.  
  23.                                        and
  24.  
  25.                           ▄                         TM
  26.                           █  █  █▀▀█            █ █   
  27.                           █▄▄█▄ █▀▀▀█ █▀▀█ █▀▀█ █▄█▄  
  28.                              █  █   █ █  █ █  █ █  █  
  29.                              ▀  ▀▀▀▀▀ ▀▀▀▀ ▀▀▀▀ ▀  ▀  
  30.  
  31.                 █  █               ▄       █▀▀▀▀      ▀    █     
  32.                 █  █ █▀▀ █▀▀█ █▀▀█ ▀ █▀▀   █  ▄▄ █  █ █ █▀▀█ █▀▀█
  33.                 █  █ ▀▀█ █▀▀▀ █      ▀▀█   █   █ █  █ █ █  █ █▀▀▀
  34.                 ▀▀▀▀ ▀▀▀ ▀▀▀▀ ▀      ▀▀▀   ▀▀▀▀▀ ▀▀▀▀ ▀ ▀▀▀▀ ▀▀▀▀
  35.  
  36.  
  37.                                 Copyright 1991 by
  38.                             Korenthal Associates, Inc.
  39.                                All Rights Reserved
  40.  
  41.  
  42.  
  43.  
  44.                                ┌─────────┐
  45.                          ┌─────┴───┐     │               (R)
  46.                        ──│         │o    │──────────────────
  47.                          │   ┌─────┴╨──┐ │  Association of
  48.                          │   │         │─┘  Shareware
  49.                          └───│    o    │    Professionals
  50.                        ──────│    ║    │────────────────────
  51.                              └────╨────┘    MEMBER
  52.  
  53.  
  54.      ──────────────────────────────────────────────────────────────────────
  55.      Credits
  56.  
  57.      4Print and 4Book were written by James E. Korenthal, Lewis Horowitz,
  58.      Steven E. Arnott, and Tracey M. Siesser.
  59.  
  60.  
  61.      ──────────────────────────────────────────────────────────────────────
  62.      Copyright Notice
  63.  
  64.      4Print and 4Book are Copyright 1991 by Korenthal Associates, Inc.
  65.      All rights are reserved.
  66.  
  67.      This document is Copyright 1991 by Korenthal Associates, Inc.
  68.      All rights are reserved.
  69.  
  70.  
  71.      ──────────────────────────────────────────────────────────────────────
  72.      Trademarks
  73.  
  74.      4Print, 4Book and Babble! are trademarks of Korenthal Associates, Inc.
  75.  
  76.      All trademarks and registered trademarks referenced within this
  77.      document are the property of their respective holders.
  78.  
  79.  
  80.      ──────────────────────────────────────────────────────────────────────
  81.      Warranty Disclaimer
  82.  
  83.      KORENTHAL ASSOCIATES, INC. MAKES NO WARRANTY OF ANY KIND, EXPRESSED OR
  84.      IMPLIED, INCLUDING WITHOUT LIMITATION ANY WARRANTIES OF MERCHANTABILI-
  85.      TY AND/OR FITNESS FOR A PARTICULAR PURPOSE.
  86.  
  87.      KORENTHAL ASSOCIATES, INC. DOES NOT ASSUME ANY LIABILITY FOR THE USE
  88.      OF THIS SOFTWARE BEYOND THE ORIGINAL PURCHASE PRICE OF THIS SOFTWARE.
  89.  
  90.      IN NO EVENT WILL KORENTHAL ASSOCIATES, INC. BE LIABLE TO YOU FOR ANY
  91.      ADDITIONAL DAMAGES, INCLUDING ANY LOST PROFITS, LOST SAVINGS, OR OTHER
  92.      INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING FROM THE USE OF, OR
  93.      INABILITY TO USE, THIS SOFTWARE AND ITS ACCOMPANYING DOCUMENTATION,
  94.      EVEN IF KORENTHAL ASSOCIATES, INC. HAS BEEN ADVISED OF THE POSSIBILITY
  95.      OF SUCH DAMAGES.
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.      Table of Contents
  110.      ──────────────────────────────────────────────────────────────────────
  111.  
  112.      New to Version 4.1  . . . . . . . . . . . . . . . . . . . . . . .    1
  113.         Introduction . . . . . . . . . . . . . . . . . . . . . . . . .    1
  114.         Bug Fix: Word Wrap with Line Numbering . . . . . . . . . . . .    1
  115.         Memory Utilization . . . . . . . . . . . . . . . . . . . . . .    1
  116.         Advanced Paper Handling Features . . . . . . . . . . . . . . .    2
  117.         Ignoring Form Feeds: The -ZF Option  . . . . . . . . . . . . .    3
  118.         DeskJet Letter Quality: The -DJL Option  . . . . . . . . . . .    4
  119.         Pausing Before Exit: The -PAUSE Option . . . . . . . . . . . .    4
  120.         Getting Help: The -HELP, -?, and ? Options . . . . . . . . . .    4
  121.         4Print Option Defaults . . . . . . . . . . . . . . . . . . . .    5
  122.         Additional Environment Variable: _4PRINT . . . . . . . . . . .    5
  123.         Zapping the Watermark: The -ZW Option  . . . . . . . . . . . .    5
  124.  
  125.      4Book User's Guide  . . . . . . . . . . . . . . . . . . . . . . .    7
  126.         Introduction . . . . . . . . . . . . . . . . . . . . . . . . .    7
  127.         Installation . . . . . . . . . . . . . . . . . . . . . . . . .    7
  128.         Quick Start  . . . . . . . . . . . . . . . . . . . . . . . . .    7
  129.         4Book Operation  . . . . . . . . . . . . . . . . . . . . . . .    8
  130.             The 4Book Command Line . . . . . . . . . . . . . . . . . .    8
  131.             The 4Book Environment Variable . . . . . . . . . . . . . .    9
  132.             4Book Configuration Files  . . . . . . . . . . . . . . . .    9
  133.             Finding Files  . . . . . . . . . . . . . . . . . . . . . .    9
  134.         Cover Styles: The -BC Options  . . . . . . . . . . . . . . . .   10
  135.             Basic Styles . . . . . . . . . . . . . . . . . . . . . . .   10
  136.             Variations . . . . . . . . . . . . . . . . . . . . . . . .   11
  137.         Cover Titles: The -BT Option (and More -BC Options)  . . . . .   11
  138.             Specifying Your Own Cover Title  . . . . . . . . . . . . .   11
  139.             Shadings and Special Effects . . . . . . . . . . . . . . .   12
  140.         The Cover Control String . . . . . . . . . . . . . . . . . . .   12
  141.         Footer Text and Page Numbering Styles: The -BF and -BN Options   13
  142.             Footer Text  . . . . . . . . . . . . . . . . . . . . . . .   13
  143.             Page Numbering Styles  . . . . . . . . . . . . . . . . . .   14
  144.             Expanded Page Numbering  . . . . . . . . . . . . . . . . .   14
  145.         More About Configuration Files: Options and Boilerplate Text .   15
  146.             4Book Options  . . . . . . . . . . . . . . . . . . . . . .   16
  147.             Boilerplate Text . . . . . . . . . . . . . . . . . . . . .   16
  148.             Ignoring Default Configuration Files: The -NOCFG Switch  .   18
  149.         Other 4Book Options  . . . . . . . . . . . . . . . . . . . . .   19
  150.             Printing in Reverse Page Order: the -R and -RF Switches  .   20
  151.  
  152.      ──────────────────────────────────────────────────────────────────────
  153.      Table of Contents                                                    i
  154.  
  155.  
  156.             Don't "Squash" the Font!: the -SQ- Switch  . . . . . . . .   20
  157.             Duplex Printing: the -D Switch . . . . . . . . . . . . . .   21
  158.             Unattended Operation: the -BU Switch . . . . . . . . . . .   21
  159.             Bypassing End-Of-File Characters: the -Z Switch  . . . . .   21
  160.  
  161.      Appendix F: Additional Trouble-Shooting Guide . . . . . . . . . .   23
  162.  
  163.      Appendix G: Using 4Print With Legal Size Paper  . . . . . . . . .   26
  164.  
  165.      Appendix H: Using 4Print With DESQview  . . . . . . . . . . . . .   28
  166.  
  167.      Appendix I: Real Life 4Book Example . . . . . . . . . . . . . . .   30
  168.  
  169.      Appendix J: 4Shell and 4Script  . . . . . . . . . . . . . . . . .   33
  170.  
  171.  
  172.  
  173.  
  174.  
  175.  
  176.  
  177.  
  178.  
  179.  
  180.  
  181.  
  182.  
  183.  
  184.  
  185.  
  186.  
  187.  
  188.  
  189.  
  190.  
  191.  
  192.  
  193.  
  194.  
  195.  
  196.  
  197.  
  198.  
  199.  
  200.  
  201.  
  202.  
  203.  
  204.  
  205.  
  206.  
  207.  
  208.  
  209.  
  210.      ──────────────────────────────────────────────────────────────────────
  211.      ii                                                 4Print 4.1 Addendum
  212.  
  213.  
  214.  
  215.  
  216.  
  217.  
  218.  
  219.  
  220.  
  221.  
  222.  
  223.  
  224.  
  225.      New to Version 4.1
  226.      ──────────────────────────────────────────────────────────────────────
  227.      Introduction
  228.  
  229.      This document is an Addendum to the 4Print 4.0 User's Guide.  It
  230.      contains information about changes and new features available with
  231.      4Print 4.1, as well as additional trouble-shooting information.  New
  232.      features include various reverse-order printing options to make sure
  233.      you never have to shuffle the order of pages again, and an option to
  234.      suppress the KA watermark on the lower right of the page.
  235.  
  236.      The Addendum also contains the complete User's Guide for 4Book,
  237.      4Print's new booklet-printing utility.  4Book goes way beyond other
  238.      booklet-printing programs in its configurability and the attractive-
  239.      ness of the booklets it produces.
  240.  
  241.      This Addendum sometimes refers to appendices contained in the 4Print
  242.      User's Guide as well as the Addendum's own appendices.  Please note
  243.      that Appendices A-E can be found in the main 4Print User's Guide,
  244.      while Appendices F-J can be found right here.
  245.  
  246.  
  247.      ──────────────────────────────────────────────────────────────────────
  248.      Bug Fix: Word Wrap with Line Numbering
  249.  
  250.      Under certain circumstances, specifying a word wrap option such as
  251.      "-ww" or "-wp" along with line numbering, "-n", could cause 4Print to
  252.      go into an infinite loop.  Note that this only happened in version
  253.      4.0, and was fixed in interim version 4.01.  4Print 4.1 also incorpo-
  254.      rates the bug fix.
  255.  
  256.  
  257.      ──────────────────────────────────────────────────────────────────────
  258.      Memory Utilization
  259.  
  260.      4Print 4.0 and interim versions through 4.05 had very little free
  261.      working storage available once the program started running.  In rare
  262.      cases, this caused 4Print to abort with Fatal Error number 204,
  263.      regardless of how much free memory you had on your computer when
  264.      4Print ran.  4Print 4.1 doubles the free memory available to 4Print,
  265.      and should eliminate most, if not all, possibility of memory overflow.
  266.  
  267.  
  268.      ──────────────────────────────────────────────────────────────────────
  269.      New to Version 4.1                                                   1
  270.  
  271.  
  272.      ──────────────────────────────────────────────────────────────────────
  273.      Printing in Reverse Page Order: the -R and -RF Switches
  274.  
  275.      4Print and 4Book now have advanced paper handling features which will
  276.      allow you to obtain perfectly collated, double-sided printouts without
  277.      manually shuffling any pages, even on non-duplex printers.
  278.  
  279.      See the section entitled "Advanced Paper Handling Features" for
  280.      information about using these options.
  281.  
  282.  
  283.      ──────────────────────────────────────────────────────────────────────
  284.      Advanced Paper Handling Features
  285.  
  286.           ┌────────────────────────────────────────────────────────┐
  287.           │ Note: If you have a duplex printer such as the IID,    │█
  288.           │ IIID, or IIISi with the duplex option, this section    │█
  289.           │ does not apply to you.  Use your printer's duplex      │█
  290.           │ capability for all double-sided printing by specifying │█
  291.           │ the "-d" or "-ds" option in both 4Print and 4Book.     │█
  292.           │                                                        │█
  293.           └────────────────────────────────────────────────────────┘█
  294.             ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
  295.  
  296.      When you are printing double-sided documents on a non-duplex printer,
  297.      4Print and 4Book first print the front side, then require you to
  298.      reinsert the stack of pages into the printer before printing the back
  299.      side.  Previous versions of 4Print only printed the back side in one
  300.      order, requiring manual shuffling of the pages on some printers.
  301.  
  302.      New to 4Print Version 4.1 and also included in 4Book are two options
  303.      which, when used correctly, completely eliminate the need for all
  304.      paper shuffling, either before printing the reverse side or after the
  305.      final document is printed.  These options are "-r" (reverse print back
  306.      side) and "-rf" (reverse print front side).  Once you determine which
  307.      combination of options (you may need neither, one, or both) applies to
  308.      your printer, you can put them in the 4PRINT environment variable and
  309.      they will assure you of hassle-free 4Print and 4Book runs every time.
  310.  
  311.      We have included a file called TESTPRIN.BAT on the 4Print distribution
  312.      disk which will automatically determine the set of options appropriate
  313.      to your needs.  To run the batch file, simply make sure your printer
  314.      is online and type TESTPRIN at the DOS prompt. 
  315.  
  316.      You can determine which options will be needed for your printer (and
  317.      your output tray choice, if more than one is available) without
  318.      running TESTPRIN.BAT.  Note that in the following paragraphs, the
  319.      "top" of the page refers to the side of the page facing you as you
  320.      look down on the input tray.
  321.  
  322.      If your printer prints on the top of the page and stacks its output in
  323.      reverse order, you do not need to specify any paper handling options
  324.  
  325.  
  326.      ──────────────────────────────────────────────────────────────────────
  327.      2                                                  4Print 4.1 Addendum
  328.  
  329.  
  330.      to 4Print or 4Book.  This is typical of the LaserJet II or III with
  331.      the output going to the rear tray.
  332.  
  333.      If your printer prints on the top of the page and stacks its output in
  334.      correct order, you need the "-r" switch in 4Print and 4Book.  This is
  335.      typical of the II or III with the output going to the top tray.
  336.  
  337.      If your printer prints on the bottom of the page and stacks its output
  338.      in reverse order, you need the "-rf" switch in 4Print and 4Book.  This
  339.      is typical of the DeskJet or of the IIP or IIIP with the optional
  340.      output tray.
  341.  
  342.      If your printer prints on the bottom of the page and stacks its output
  343.      in correct order, you need both switches ("-r -rf") in 4Print and
  344.      4Book.  This is typical of the IIP and IIIP without the optional
  345.      output tray.
  346.  
  347.      Note that 4Print implements the "-r" and "-rf" options by creating a
  348.      temporary file during its normal operation, and then printing the
  349.      pages in correct sequence from this temporary file.  This means you
  350.      must have enough free disk space to accommodate the temporary file.
  351.      (The file is automatically deleted when 4Print exits.)  Also, the
  352.      temporary file is created in your current working directory unless you
  353.      have a 4TEMP, TEMP, or TMPDIR environment variable set.  For example,
  354.      if your AUTOEXEC.BAT file contains the line "SET 4TEMP=D:", 4Print
  355.      (and 4Book) will use your D: drive for any temporary files it creates.
  356.      The reverse print phase is very fast in 4Print, but you can make it
  357.      even faster by specifying a RAM disk for temporary files.
  358.  
  359.  
  360.      ──────────────────────────────────────────────────────────────────────
  361.      Ignoring Form Feeds: The -ZF Option
  362.  
  363.      This option causes 4Print to completely ignore all form feeds in your
  364.      document.  We have no idea why this option is useful, but Ron
  365.      VanAbrahams asked for it and since he's been such a good beta tester
  366.      and has contributed quite a bit to this release (including most of the
  367.      SAYINGS.TXT file for 4Book), we couldn't refuse without appearing to
  368.      be incredibly ungrateful.  So there you have it, an option which seems
  369.      totally useless, but what the heck, it was easy to implement and it
  370.      makes Ron happy.
  371.  
  372.      Seriously: See also the "-xf" option, which runs pages together just
  373.      as "-zf" does, but adds a line of dashes so you know where the page
  374.      breaks in the document occur.
  375.  
  376.         C>4Print myfile -zf
  377.  
  378.           Make Ron happy.  Oops, we mean ignore form feeds in the document.
  379.  
  380.  
  381.  
  382.  
  383.  
  384.      ──────────────────────────────────────────────────────────────────────
  385.      New to Version 4.1                                                   3
  386.  
  387.  
  388.      ──────────────────────────────────────────────────────────────────────
  389.      DeskJet Letter Quality: The -DJL Option
  390.  
  391.      Starting with version 4.1, 4Print automatically prints in DeskJet
  392.      draft mode when the "-dj" option is used.  This method of printing is
  393.      more than twice as fast as letter quality printing, and the resulting
  394.      printout is adequate for most people's text file printing needs.  If
  395.      you wish to use the DeskJet's letter quality mode with 4Print, specify
  396.      "-djl" instead of "-dj".
  397.  
  398.         C>4Print myfile -djl
  399.  
  400.           Print the file on a DeskJet, using letter quality mode.
  401.  
  402.  
  403.      ──────────────────────────────────────────────────────────────────────
  404.      Pausing Before Exit: The -PAUSE Option
  405.  
  406.      The "-pause" option causes 4Print to stop for one keypress before
  407.      returning to your operating system.  This guarantees that you'll see
  408.      the full information from 4Print (such as a possible error message)
  409.      before your operating system clears the screen.
  410.  
  411.         C>4Print myfile -pause
  412.  
  413.           Print the file and pause before exiting.
  414.  
  415.      Note that this option is not necessary for normal DOS use, but can
  416.      come in handy if 4Print will be returning to an environment which
  417.      immediately clears the screen, such as Windows.  Note also that if you
  418.      use 4Shell, the Windows interface to 4Print written by ZPAY Payroll
  419.      Systems, you should be sure to configure 4Shell to use 4Print 4.1
  420.      conventions because, in this case, 4Shell automatically provides a
  421.      "-pause" on all 4Print runs.
  422.  
  423.  
  424.      ──────────────────────────────────────────────────────────────────────
  425.      Getting Help: The -HELP, -?, and ? Options
  426.  
  427.      Users of versions of 4Print prior to 4.1 know that typing "4print"
  428.      alone on the command line will yield a rather cryptic summary screen
  429.      of 4Print's command line options.  4Print's online help information
  430.      has been greatly expanded with version 4.1, and in addition to help
  431.      being offered when no parameters are present, 4Print will enter its
  432.      help system when "4print -help", "4print -?", or "4print ?" are typed.
  433.  
  434.         C>4print
  435.         C>4print -help
  436.         C>4print -?
  437.         C>4print ?
  438.  
  439.           Enter the help system.  (All of these are equivalent.)
  440.  
  441.  
  442.      ──────────────────────────────────────────────────────────────────────
  443.      4                                                  4Print 4.1 Addendum
  444.  
  445.  
  446.      Note that in versions prior to 4.1, "4print ?" would attempt to print
  447.      all files with a name consisting of a single character.  You can still
  448.      accomplish this in version 4.1 by adding a zero-character extension
  449.      (in other words, just the dot) and typing "4PRINT ?."
  450.  
  451.      The help system offers an introductory screen, the one-screen command
  452.      line summary, a screen of typical 4Print invocation examples, and then
  453.      15 screens of detailed information about 4Print command line options. 
  454.      You can move among the screens by pressing <Enter> or the space bar,
  455.      <PgDn> or <Down Arrow> to go forward, and <PgUp> or <Up Arrow> to go
  456.      backward.  In addition, pressing <Home> or <End> will immediately move
  457.      you to the first or last screen, respectively.  Press <Esc> to exit
  458.      the help system and return to DOS.
  459.  
  460.  
  461.      ──────────────────────────────────────────────────────────────────────
  462.      4Print Option Defaults
  463.  
  464.      Depending on which 4Print package you received, you either have
  465.      information about changing 4Print's defaults using a DOS debugger, or
  466.      you were provided with a program called KAZAP which changes defaults
  467.      automatically.  In either case, you can follow the information provid-
  468.      ed in the documentation you received with one important exception:
  469.  
  470.         The file containing the 4Print option defaults is now 4PRINT.OVL
  471.         (instead of 4PRINT.EXE).  Follow the instructions you have for
  472.         changing the defaults, but substitute 4PRINT.OVL wherever
  473.         4PRINT.EXE is mentioned.
  474.  
  475.  
  476.      ──────────────────────────────────────────────────────────────────────
  477.      Additional Environment Variable: _4PRINT
  478.  
  479.      This section is only of interest to advanced DOS batch file writers.
  480.  
  481.      Instead of the "4PRINT" environment variable described in the User's
  482.      Guide, you may use the name "_4PRINT" (adding an underscore to the
  483.      front of the name).  4Print will look for the "_4PRINT" variable only
  484.      if it doesn't find "4PRINT", and will treat them equivalently.  The
  485.      reason for providing the "_4PRINT" variable is to allow batch files to
  486.      refer to "%_4PRINT%" without getting confused with command line
  487.      parameter %4.
  488.  
  489.  
  490.      ──────────────────────────────────────────────────────────────────────
  491.      Zapping the Watermark: The -ZW Option
  492.  
  493.      Have you ever noticed that funny little "KA 4PRINT" logo which appears
  494.      in the lower right hand corner of all your 4Print printouts?  Of
  495.      course you've noticed it, and c'mon, admit it, you always thought it
  496.      was kind of cute.  Everyone thought it was cute, except perhaps for
  497.      that one fellow who ranted and raved about how amateurish it was for
  498.  
  499.  
  500.      ──────────────────────────────────────────────────────────────────────
  501.      New to Version 4.1                                                   5
  502.  
  503.  
  504.      us to feed our ego by putting our symbol on every one of *his* pre-
  505.      cious printouts.  Aw shucks, we didn't think we were being narcissis-
  506.      tic; our intent was to provide a "watermark" which would make 4Print
  507.      printouts more distinctive and classy!
  508.  
  509.      But...  Enter 4Book.
  510.  
  511.      We did a lot of soul searching when we generated the first 4Book test
  512.      printouts and saw how useful they'd be for small, ad-hoc publishing
  513.      efforts such as "quickie" club or church newsletters and the like. 
  514.      The watermark, however, seemed quite jarring in this context, espe-
  515.      cially considering it appeared on *every other* page of a 4Book!
  516.  
  517.      Since 4Book calls 4Print to do its printing, we couldn't remove the
  518.      watermark from only 4Book runs without doing some very sneaky program-
  519.      ming stuff, so we decided, what the heck, we'll provide an option to
  520.      get rid of the watermark in 4Print, and we'll let our users decide
  521.      whether they want to let the watermark print or not.  So...
  522.  
  523.         C>4print myfile -zw
  524.  
  525.           Print the file, suppressing the watermark and bringing just a bit
  526.           of a tear to the eyes of the KA staff.
  527.  
  528.  
  529.  
  530.  
  531.  
  532.  
  533.  
  534.  
  535.  
  536.  
  537.  
  538.  
  539.  
  540.  
  541.  
  542.  
  543.  
  544.  
  545.  
  546.  
  547.  
  548.  
  549.  
  550.  
  551.  
  552.  
  553.  
  554.  
  555.  
  556.  
  557.  
  558.      ──────────────────────────────────────────────────────────────────────
  559.      6                                                  4Print 4.1 Addendum
  560.  
  561.  
  562.  
  563.  
  564.  
  565.  
  566.  
  567.  
  568.  
  569.  
  570.  
  571.  
  572.  
  573.      4Book User's Guide
  574.      ──────────────────────────────────────────────────────────────────────
  575.      Introduction
  576.  
  577.      4Book is a new companion to 4Print which makes it easy to produce
  578.      handsome booklets right out of your laser printer.  4Book rearranges
  579.      the order in which the pages in your document are printed by 4Print so
  580.      the sheets can be folded in half to form a 5½" by 8½" booklet, or cut
  581.      in half and inserted into an IBM-style binder.  Booklets can be cus-
  582.      tomized in dozens of ways, including cover styles, large title fonts,
  583.      boilerplate text, and even random quotes that print out differently
  584.      each time the booklet is printed.
  585.  
  586.           ┌─────────────────────────────────────────────────────────┐
  587.           │ Tip: Please note that you MUST have 4Print version 4.0  │█
  588.           │ or later to use 4Book!  4Book WILL NOT WORK with any    │█
  589.           │ earlier version of 4Print!                              │█
  590.           │                                                         │█
  591.           └─────────────────────────────────────────────────────────┘█
  592.             ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
  593.  
  594.  
  595.      ──────────────────────────────────────────────────────────────────────
  596.      Installation
  597.  
  598.      Since 4Book accompanies 4Print 4.1, it should have been installed
  599.      along with 4Print.  If not, or if it was accidentally erased, just
  600.      copy the 4BOOK.EXE, 4BOOK.CFG, and SAYINGS.TXT files from the distri-
  601.      bution disk to the directory which contains 4PRINT.EXE.  See the
  602.      4Print User's Guide for detailed instructions and examples.
  603.  
  604.  
  605.      ──────────────────────────────────────────────────────────────────────
  606.      Quick Start
  607.  
  608.      To get started with 4Book, type the following at the DOS prompt:
  609.  
  610.           C>4book
  611.  
  612.      4Book will display the first of seven screens of help information. 
  613.      These screens contain usage instructions and a complete list of
  614.  
  615.  
  616.      ──────────────────────────────────────────────────────────────────────
  617.      4Book User's Guide                                                   7
  618.  
  619.  
  620.      4Book's options.  Press <PgUp> and <PgDn> to move from one help screen
  621.      to another, and press <Esc> to return to DOS.
  622.  
  623.      To get a feel for what 4Book does, try creating a booklet using a
  624.      small text file.  To print the README.DOC file that comes on the
  625.      4Print distribution disk, for example, type:
  626.  
  627.           C>4book readme.doc
  628.       or  C>4book readme.doc -d    if you're using a duplex printer
  629.       or  C>4book readme.doc -dj   if you're using a DeskJet
  630.  
  631.      The program will scan the file, and then pause and prompt you to press
  632.      "Y" to print the booklet.  4Book will then call 4Print with the name
  633.      of the file and any options you've specified.  Unless you have a
  634.      duplex printer (such as a IID or IIID) and have included the "-d"
  635.      option on the command line, 4Print will print the front side, and then
  636.      pause and ask you to reinsert the paper into the paper tray to print
  637.      the reverse side.
  638.  
  639.  
  640.      ──────────────────────────────────────────────────────────────────────
  641.      4Book Operation
  642.  
  643.      4Book is a pre-processor for 4Print.  4Book scans your document,
  644.      determines where the page breaks occur, and creates a temporary file
  645.      containing the pages of the document in the proper order for printing
  646.      a booklet.  4Book tells you how many pages the booklet will contain,
  647.      and pauses to allow you to decide whether or not to continue.  If you
  648.      press "Y", 4Book will call 4Print with the name of the temporary file
  649.      and any options which it does not recognize as 4Book options.
  650.  
  651.      You can tell 4Book to pass an option straight through to 4Print by
  652.      prefacing it with "--".  For example, "--m" will tell 4Print to put
  653.      the printer in manual mode before printing the reverse side.
  654.  
  655.      Options may be passed to 4Book in three ways.  You may specify options
  656.      by typing them on the 4Book command line, by setting an environment
  657.      variable called "4BOOK", or by including them in a configuration file.
  658.  
  659.         The 4Book Command Line
  660.         ──────────────────────
  661.         You can follow the 4Book command with the name of the file to be
  662.         printed, and any number of 4Book/4Print options (also known as
  663.         "switches") in any order.  Options must start with a dash or a
  664.         slash, and must be surrounded by spaces.  Options may not be
  665.         combined with a single dash or slash.
  666.  
  667.         4Book will process any options which it recognizes, and pass
  668.         everything else through to 4Print.  In addition, you may preface a
  669.         4Print option with "--", and 4Book will pass it straight through.
  670.  
  671.  
  672.  
  673.  
  674.      ──────────────────────────────────────────────────────────────────────
  675.      8                                                  4Print 4.1 Addendum
  676.  
  677.  
  678.         Since 4Book doesn't "know" what a valid 4Print option is, it can't
  679.         catch any errors.  It will, however, tell you what it is about to
  680.         pass to 4Print when it requests your permission to continue after
  681.         scanning the document.  If you notice any errors, press "N" to
  682.         cancel the print job, and retype the command.
  683.  
  684.         The 4Book Environment Variable
  685.         ──────────────────────────────
  686.         You may specify any or all 4Book options in the DOS environment
  687.         instead of (or in addition to) the 4Book command line.  4Book will
  688.         consider any information found in the "4BOOK" environment variable
  689.         as if it were attached to the BEGINNING of the command line.  You
  690.         may want to set the 4Book environment variable in your AUTOEXEC.BAT
  691.         file if there are certain options that you always want to use with
  692.         4Book.  For example, suppose you typed this command (or put the
  693.         command in your AUTOEXEC file) any time before you invoked 4Book:
  694.  
  695.              C>set 4book=-bcBook
  696.  
  697.         Note that there CANNOT be a space after the word "4book" or after
  698.         the equals sign, and that there is a dash in the "-bcBook", just as
  699.         if it were on the 4Book command line.
  700.  
  701.         Given the above environment setting, any subsequent 4Book run would
  702.         use the "Book" cover style (inside covers guaranteed).
  703.  
  704.         4Book Configuration Files
  705.         ─────────────────────────
  706.         4Book will read options and boilerplate text from one or more
  707.         configuration files.  The default configuration file is 4BOOK.CFG. 
  708.         4Book will search for this file every time it is invoked.  See
  709.         "Finding Files" below for further details.
  710.  
  711.         You can tell 4Book to process additional configuration and boiler-
  712.         plate files on the command line or in the environment:
  713.  
  714.              +              Configuration options and boilerplate text are
  715.                             in the document itself.
  716.  
  717.              +<filename>    Read additional options and boilerplate text
  718.                             from <filename>.
  719.  
  720.         Configuration and boilerplate files provide you with a great deal
  721.         of flexibility in customizing the layout and appearance of your
  722.         booklets.  See "More About Configuration Files: Options and Boiler-
  723.         plate Text" for detailed instructions on using these files.
  724.  
  725.         Finding Files
  726.         ─────────────
  727.         4Book must be able to find the 4Print executable file, 4PRINT.EXE. 
  728.         When 4Book tries to call 4Print, it first searches the current
  729.         directory.  If you are using DOS 3.3 or above, it then searches the
  730.  
  731.  
  732.      ──────────────────────────────────────────────────────────────────────
  733.      4Book User's Guide                                                   9
  734.  
  735.  
  736.         directory from which 4Book was executed.  Finally, it searches the
  737.         directories contained in the DOS path.
  738.  
  739.         4Book uses this same logic when trying to find configuration files,
  740.         or "#include" files or "#random" files.  See "More About Configura-
  741.         tion Files: Options and Boilerplate Text" for more information on
  742.         using these files.
  743.  
  744.  
  745.      ──────────────────────────────────────────────────────────────────────
  746.      Cover Styles: The -BC Options
  747.  
  748.      4Book sports a wealth of cover style options, allowing you to specify
  749.      everything from which parts of the cover print to which frame lines
  750.      you want to surround the booklet title.
  751.  
  752.         Basic Styles
  753.         ────────────
  754.         4Book has four basic cover styles as well as an option to suppress
  755.         the covers entirely.  Each style lets you specify a different com-
  756.         bination of inside and outside covers.  Use the diagram below to
  757.         determine which combination of inside and outside covers you need, 
  758.         and then select an option correspondingly. 
  759.  
  760.                 ┌─────────┬─────────┐    ┌─────────┬─────────┐
  761.                 │         │ ╔═════╗ │    │         │         │
  762.                 │         │ ║TITLE║ │    │         │         │
  763.                 │ back    │ ║ ON  ║ │    │ front   │ back    │
  764.                 │ outside │ ║FRONT║ │    │ inside  │ inside  │
  765.                 │         │ ║     ║ │    │         │         │
  766.                 │         │ ╚═════╝ │    │         │         │
  767.                 └─────────┴─────────┘    └─────────┴─────────┘
  768.                   The Outside Cover        The Inside Cover
  769.  
  770.  
  771.            -bcBook     Front and back inside and outside covers guaranteed.
  772.            -bcFacing   Front and back outside covers, front inside cover
  773.                        (first page of text starts on the right-hand side).
  774.            -bcCompact  Front and back outside covers only.
  775.            -bcMin      Front outside cover only.
  776.            -bc-        No covers.  The document is the entire booklet.
  777.  
  778.         Both "-bcBook" and "-bcFacing" will print odd-numbered pages on the
  779.         right and even-numbered pages on the left, as they would appear in
  780.         an actual book.
  781.  
  782.         If you don't specify a cover style, 4Book will print front and back
  783.         outside covers, and a front inside cover (same as "-bcFacing"). 
  784.         The first page of text will appear on the right-hand side.
  785.  
  786.  
  787.  
  788.  
  789.  
  790.      ──────────────────────────────────────────────────────────────────────
  791.      10                                                 4Print 4.1 Addendum
  792.  
  793.  
  794.         Variations                                   ┌───────────┐
  795.         ──────────                                   │ ╔═══════╗ │
  796.         In addition to specifying which covers       │ ║ ═════ <─── Horiz.
  797.         you want, 4Book allows you to change the     │ ║ TITLE ║ │  Lines
  798.         appearance of the covers, including frame    │ ║ ═════ ║ │
  799.         lines, titles, and shadows, by using one     │ ║       ║ │
  800.         or more of the following options:            │ ║       ║<── Frame
  801.                                                      │ ╚═══════╝ │
  802.                                                      └───────────┘
  803.  
  804.            -bcVanilla      Eliminates reversal of the back cover title.
  805.            -bcBareBack     Makes back cover (if present) completely blank.
  806.            -bcNoFrame      Eliminates frames on front and back covers.
  807.            -bcLines        Adds horizontal lines around large cover titles.
  808.            -bcNoFooter     Eliminates duplication of footer line on cover.
  809.            -bcNoTitle      Eliminates large titles on both covers.
  810.            -bcNoBackTitle  Eliminates large title on the back cover only.
  811.            -bcNoShadow     Eliminates "shadow" effect on large titles.
  812.  
  813.  
  814.      ──────────────────────────────────────────────────────────────────────
  815.      Cover Titles: The -BT Option (and More -BC Options)
  816.  
  817.      To complement 4Book's many cover style options, 4Book also offers
  818.      complete customization of how information on the cover should appear. 
  819.      You can specify the text of the title, which is rendered in a large
  820.      "font" created from the extended ASCII line drawing characters, as
  821.      well as select from various "special effects" to lend your document
  822.      appropriate pizazz.
  823.  
  824.         Specifying Your Own Cover Title
  825.         ───────────────────────────────
  826.         By default, 4Book uses the document's file name and extension as
  827.         the cover title.  The file name is printed on the first line, and
  828.         the file extension on the second line.  You may specify your own
  829.         cover title using the "-bt" option as follows:
  830.  
  831.            -bt"Line1//Line2//Line3"
  832.  
  833.         Each line can contain a maximum of nine letters, and will be
  834.         printed in upper case.  If the title does not contain any spaces,
  835.         you need not enclose it in quotes (i.e. -btLine1//Line2//Line3).
  836.  
  837.         To suppress the printing of a title on the cover, use the "-bt"
  838.         option without specifying any title text.  For example:
  839.  
  840.            -bt                        No title.
  841.            -bt4BOOK                   Prints 4BOOK on line 1, followed by
  842.                                       two blank lines.
  843.            -bt"THIS IS//MY//BOOKLET"  Prints THIS IS on line 1, MY on line
  844.                                       2, and BOOKLET on line 3.
  845.  
  846.  
  847.  
  848.      ──────────────────────────────────────────────────────────────────────
  849.      4Book User's Guide                                                  11
  850.  
  851.  
  852.         Shadings and Special Effects
  853.         ────────────────────────────
  854.         By default, 4Book prints front cover titles in solid black, and
  855.         back cover titles with a light shading.  You can change the shad-
  856.         ings used and create some fancy special effects by using one of the
  857.         following options:
  858.  
  859.             -bcVeryLight    Lightest shading on the front cover.
  860.             -bcLight        Light shading.
  861.             -bcDark         Darker shading.
  862.             -bcBlack        Front and back covers both use black.
  863.             -bcSunrise      Sunrise special effect on front cover.
  864.             -bcSunset       Sunset special effect on front cover.
  865.             -bcSunburst     Sunburst special effect on front cover.
  866.             -bcEclipse      Eclipse special effect on front cover.
  867.             -bcSunspots     Sunspots special effect on front cover.
  868.             -bcYecch        Special effect which we think looks ugly, but
  869.                             may appeal to some people. <grin>
  870.             -bcBackwards    Front and back titles reversed horizontally.
  871.             -bcUpside-down  Front and back titles reversed vertically.
  872.  
  873.  
  874.      ──────────────────────────────────────────────────────────────────────
  875.      The Cover Control String
  876.  
  877.      As 4Book scans the command line, environment variable and configura-
  878.      tion files, it creates an 18-character cover control string.  Each of
  879.      the "-bc" options described above affects the contents of one or more
  880.      character positions in the string.  When all of the options have been
  881.      read, 4Book uses the resulting cover control string to determine the
  882.      characteristics of the booklet covers.
  883.  
  884.      You can directly specify the cover style and any number of cover style
  885.      variations by following "-bc" with the exact cover control string to
  886.      be used.  In addition to shortening the command line, using the cover
  887.      control string allows you to apply cover style variations to either
  888.      the front or the back cover.  Otherwise, most specified variations are
  889.      applied to both the front and back covers.
  890.  
  891.                        Front    Back
  892.                      ┌───┴───┐┌───┴───┐
  893.                      123456789123456789
  894.                     "------------------"
  895.  
  896.         Pos  Option Description           Option Specifier
  897.         ---------------------------------------------------------------
  898.          1   Print front (back) cover?    Y or 1 for yes, N or 0 for no,
  899.                                           B or 2 for yes+inside cover
  900.  
  901.          2   Print frame?                 Y for yes, N for no
  902.  
  903.          3   Print horizontal lines?      Y for yes, N for no
  904.  
  905.  
  906.      ──────────────────────────────────────────────────────────────────────
  907.      12                                                 4Print 4.1 Addendum
  908.  
  909.  
  910.          4   Print footer text under      Y for yes, N for no
  911.              large title?
  912.  
  913.          5   Print large title?           Y for yes, N for no
  914.  
  915.          6   Gray level of title          0  Very Light  5  Sunrise
  916.                                           1  Light       6  Sunburst
  917.                                           2  Dark        7  Eclipse
  918.                                           3  Black       8  Sunspots
  919.                                           4  Sunset      9  "Yecch"
  920.  
  921.          7   Shadow on title?             Y for yes, N for no
  922.  
  923.          8   Reverse title horizontally?  Y for yes, N for no
  924.  
  925.          9   Reverse title vertically?    Y for yes, N for no
  926.  
  927.  
  928.      ┌───────────────────────────────────────────────────────────────────┐
  929.      │  Tip: Printing a Cover Separately From the Text                   │█
  930.      │                                                                   │█
  931.      │  There may be times when you'd like to print the cover separate-  │█
  932.      │  ly from the text.  For example, you may want to print the cover  │█
  933.      │  on a different stock of paper.  You can do this with 4Book by    │█
  934.      │  breaking the print job into two steps.                           │█
  935.      │                                                                   │█
  936.      │  First, print the booklet using the "-bc-" option to suppress     │█
  937.      │  the printing of a cover.  Next, tell 4Book to take its input     │█
  938.      │  from the "NUL" DOS device (which generates an immediate end-of-  │█
  939.      │  file), and specify a custom title and footer:                    │█
  940.      │                                                                   │█
  941.      │       C>4book nul -btMY//BOOKLET -bf"Copyright 1991"              │█
  942.      │                                                                   │█
  943.      │  4Print will print a cover without any accompanying document.     │█
  944.      │  (See "Footer Text and Page Numbering Styles" below for details   │█
  945.      │  on specifying a footer text line.                                │█
  946.      │                                                                   │█
  947.      └───────────────────────────────────────────────────────────────────┘█
  948.        ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
  949.  
  950.      ──────────────────────────────────────────────────────────────────────
  951.      Footer Text and Page Numbering Styles: The -BF and -BN Options
  952.  
  953.      As with everything else, 4Book has many options for specifying footer
  954.      and page number information.
  955.  
  956.         Footer Text
  957.         ───────────
  958.         By default, 4Book prints the document's file name and extension
  959.         beneath titles and at the bottom of each page of text.  You may
  960.         eliminate the footer line or the footer text, or specify the footer
  961.         text to be printed by using one of the following options:
  962.  
  963.  
  964.      ──────────────────────────────────────────────────────────────────────
  965.      4Book User's Guide                                                  13
  966.  
  967.  
  968.            -bf-        Footer line is entirely eliminated.
  969.            -bf         Footer text is blank; footer prints as a solid
  970.                        horizontal line.
  971.            -bf"Text"   Footer text is as specified.
  972.  
  973.         If the footer text you've specified does not contain any blanks,
  974.         you do not need to enclose it in quotes (e.g. -bfProposal).  If you
  975.         want to include double quotes in the text, enclose the footer text
  976.         in single quotes instead of double quotes (e.g. -bf'Special "Sun-
  977.         rise" Effect').
  978.  
  979.         Page Numbering Styles
  980.         ─────────────────────
  981.         4Book has two different page numbering styles, and an option to
  982.         suppress the printing of page numbers.  You select the style to be
  983.         used by specifying one of the following options:
  984.  
  985.              -bn-      No page numbering.
  986.              -bn1      Just the page number is printed.
  987.              -bn2      "Page n" is printed, where n is the page number.
  988.  
  989.         Please keep in mind that page numbering works in conjunction with
  990.         the specified footer text style.  If you've used the "-bf-" option
  991.         to eliminate the footer line, page numbers are automatically elim-
  992.         inated also.  If you want page numbers without footer text, use the
  993.         "-bf" option to eliminate the footer text without eliminating the
  994.         footer line.
  995.  
  996.         Expanded Page Numbering
  997.         ───────────────────────
  998.         For the purpose of printing page numbers, 4Book allows you to
  999.         divide your document into four parts.  The first part is printed
  1000.         without page numbers.  This part might be a custom cover (not a
  1001.         4Book cover), followed by a credits page, for example.  The second
  1002.         part is printed using lower-case Roman numerals as page numbers. 
  1003.         This might be the Table of Contents or the Preface.  The third part
  1004.         is printed without page numbers.  This might be a series of one or
  1005.         more blank pages before the first page of Chapter 1.  Finally, the
  1006.         remainder of the document will be printed with decimal numbers.
  1007.  
  1008.         To use expanded page numbering, specify the "-bn" option, followed
  1009.         by the style code (1 or 2), followed by one or more of the follow-
  1010.         ing parameters:
  1011.  
  1012.             Start    Number to be printed on first decimally numbered page.
  1013.             None1    Number of initial pages with no page numbering.
  1014.             Roman    Number of pages after initial pages with small Roman
  1015.                      numerals.
  1016.             None2    Number of pages after Roman pages with no numbering.
  1017.  
  1018.         Each parameter is a decimal number; any parameter may be omitted by
  1019.         using a comma to hold its place (see example "-bn1,,,3" below).
  1020.  
  1021.  
  1022.      ──────────────────────────────────────────────────────────────────────
  1023.      14                                                 4Print 4.1 Addendum
  1024.  
  1025.  
  1026.         The "Start" parameter holds the decimal number which will be
  1027.         printed on the first decimally numbered page, as determined by the
  1028.         "None1", "Roman" and "None2" parameters, if any.
  1029.  
  1030.         You can separate the "parts" of your document with one or more
  1031.         blank pages by preceding the "None1" and/or "None2" parameters with
  1032.         a dash.  4Book will insert the specified number of form feed char-
  1033.         acters into the document to force the desired page breaks.  This
  1034.         can be used to force a page which would have appeared on the left
  1035.         to be printed on the right.
  1036.  
  1037.         "-None1" and "-None2" also have associated boilerplate tags called
  1038.         ".blank1" and ".blank2".  Any text following these tags will be
  1039.         printed on the blank pages created by using this option.
  1040.  
  1041.         Please note that blank pages which are created by using "-None1" or
  1042.         "-None2" will not contain a footer line, while blank pages which
  1043.         are part of your document will.
  1044.  
  1045.         Examples:
  1046.  
  1047.            -bn2,10,2,2,1    Use "Page n" numbering style.  The first two
  1048.                             pages have no page numbers, followed by two
  1049.                             that use Roman numerals, followed by a page
  1050.                             with no page number, followed by "Page 10". 
  1051.                             (Note that "Page 10" is actually the sixth page
  1052.                             in the document.)
  1053.  
  1054.            -bn1,,,3         The page number is just the number itself.  The
  1055.                             first three pages use Roman numerals.  The re-
  1056.                             maining pages use decimal numbers, starting
  1057.                             with "1".
  1058.  
  1059.            -bn1,,,3,-1      Same as above, except that a blank page will be
  1060.                             inserted between the last page that uses Roman
  1061.                             numerals and the remainder of the document.
  1062.  
  1063.  
  1064.      ──────────────────────────────────────────────────────────────────────
  1065.      More About Configuration Files: Options and Boilerplate Text
  1066.  
  1067.      4Book's configuration files help you to both standardize and customize
  1068.      the appearance of your booklets.  You standardize them by including
  1069.      options which you want to use for all (or most) of them, and customize
  1070.      them by including boilerplate text to be printed on the covers or on
  1071.      blank pages within your document.
  1072.  
  1073.      4Book always searches for 4BOOK.CFG before any additional configura-
  1074.      tion and boilerplate files.  Options contained in additional config-
  1075.      uration files are *added* to those contained in 4BOOK.CFG, while
  1076.      boilerplate files are *substituted* for any boilerplate text contained
  1077.      in 4BOOK.CFG.  To avoid confusion as to which configuration files have
  1078.  
  1079.  
  1080.      ──────────────────────────────────────────────────────────────────────
  1081.      4Book User's Guide                                                  15
  1082.  
  1083.  
  1084.      been processed, 4Book will display the name of any and all configura-
  1085.      tion files which it has read after scanning the document.
  1086.  
  1087.         4Book Options
  1088.         ─────────────
  1089.         Configuration files may contain both 4Book and 4Print options. 
  1090.         Option lines must start with ".options", followed by one or more
  1091.         spaces and the options themselves.  A configuration file may con-
  1092.         tain any number of option lines, and they may appear anywhere
  1093.         within the file.  For example:
  1094.  
  1095.            .options -bcBook -btMY//BOOKLET
  1096.  
  1097.         Note that the period in ".options" MUST be in column one of the
  1098.         line!
  1099.  
  1100.         Boilerplate Text
  1101.         ────────────────
  1102.         You can add text to your document by including one or more of
  1103.         4Book's boilerplate commands in a configuration file.  You may
  1104.         specify the page(s) on which to print the text, and its location on
  1105.         the page, as follows:
  1106.  
  1107.              Pages on Which to Print Text
  1108.              ----------------------------
  1109.              .front         Front outside cover
  1110.              .inside        Front inside cover
  1111.              .back inside   Back inside cover
  1112.              .back          Back outside cover
  1113.              .blank         Any blank pages after last page of document
  1114.              .blank1        Any blank pages created by using "-None1"
  1115.                             parameter in the "-bn" option
  1116.              .blank2        Any blank pages created by using "-None2"
  1117.                             parameter in the "-bn" option
  1118.  
  1119.         See "Expanded Page Numbering" for an explanation of the "-None1"
  1120.         and "-None2" parameters to the "-bn" page numbering option. 
  1121.  
  1122.              Positioning Instructions
  1123.              ------------------------
  1124.              center         Center text block in available space
  1125.              top center     Center text block horizontally only
  1126.              left center    Center text block vertically only
  1127.              right          Print text block flush right
  1128.              bottom         Print text block at bottom of page
  1129.              bottom right   Print text block in bottom right corner
  1130.              block          Consider text as a block, and position it based
  1131.                             upon the length of the longest line
  1132.  
  1133.         A positioning instruction must be typed on the same line as the
  1134.         "dot command" to which it relates.  Any other information on the
  1135.         line is ignored, so make sure that the boilerplate text itself
  1136.  
  1137.  
  1138.      ──────────────────────────────────────────────────────────────────────
  1139.      16                                                 4Print 4.1 Addendum
  1140.  
  1141.  
  1142.         begins on the line *following* the dot command.  Everything up to
  1143.         the next "." is considered part of the boilerplate text.
  1144.  
  1145.         When centering has been requested, 4Book will center each line of
  1146.         text individually.  Use the "block" positioning instruction to tell
  1147.         4Book to consider the text as a block, and center it based upon the
  1148.         length of the longest line in the block.  This applies to right
  1149.         justified text as well.
  1150.  
  1151.         Boilerplate lines are simple text, except for the following two
  1152.         special lines:
  1153.  
  1154.            #include <filename>   Take text from <filename> before
  1155.                                  continuing.
  1156.            #random <filename>    Choose text randomly from <filename>
  1157.                                  before continuing.
  1158.  
  1159.         The "#include" directive tells 4Book to simply insert the contents
  1160.         of the specified file into the document before printing the remain-
  1161.         der of the boilerplate text, if any.  The "#random" directive tells
  1162.         4Book to insert a *single* block of text from the specified file. 
  1163.         Text blocks are separated by a line which contains a period in
  1164.         column one.  The last text block in the file need not be followed
  1165.         by the period delimiter.  For example:
  1166.  
  1167.               Never play leapfrog with a unicorn.
  1168.                  - Unknown
  1169.               .
  1170.               After a year in therapy, my psychiatrist said to me,
  1171.               "Maybe life isn't for everyone."
  1172.                  - Larry Brown
  1173.               .
  1174.               Whenever I'm caught between two evils,
  1175.               I take the one I never tried.
  1176.                  - Mae West
  1177.  
  1178.         Here is an example of a 4Book configuration file:
  1179.  
  1180.               .options -bcBook -bcNoHeader
  1181.               .options -btMY//BOOKLET
  1182.               .front center
  1183.               --------------------------
  1184.               Korenthal Associates, Inc.
  1185.               230 West 13th Street
  1186.               New York, NY  10011
  1187.               --------------------------
  1188.               .inside center
  1189.               #random SAYINGS.TXT
  1190.               .blank pages, top center
  1191.               ----- Notes -----
  1192.  
  1193.  
  1194.  
  1195.  
  1196.      ──────────────────────────────────────────────────────────────────────
  1197.      4Book User's Guide                                                  17
  1198.  
  1199.  
  1200.         A booklet printed using a configuration file containing the above
  1201.         commands would print our company name and address on the front
  1202.         cover, centered in the space beneath the title.  It would also
  1203.         print a text block, chosen at random from a file named SAYINGS.TXT,
  1204.         on the inside front cover, and "----- Notes -----" centered at the
  1205.         top of any blank pages which follow the last page of the document.
  1206.  
  1207.         ┌────────────────────────────────────────────────────────────────┐
  1208.         │  Tip: When you use either "center" or "left center", the text  │█
  1209.         │  may *appear* to be below the center of the page.  You can     │█
  1210.         │  compensate for this optical illusion by adding several blank  │█
  1211.         │  lines after the text.  4Book will include these blank lines   │█
  1212.         │  as part of the centered text block, resulting in the actual   │█
  1213.         │  text being shifted upwards.                                   │█
  1214.         │                                                                │█
  1215.         └────────────────────────────────────────────────────────────────┘█
  1216.          ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
  1217.  
  1218.         ┌────────────────────────────────────────────────────────────────┐
  1219.         │  Tip: 4Book ignores any "dot commands" which it does not       │█
  1220.         │  recognize.  This allows you to insert comments in a config-   │█
  1221.         │  uration file by preceding them with something like ".." or    │█
  1222.         │  ".rem".  Everything which follows will be ignored, up to      │█
  1223.         │  the next dot command.                                         │█
  1224.         │                                                                │█
  1225.         └────────────────────────────────────────────────────────────────┘█
  1226.          ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
  1227.  
  1228.  
  1229.         Ignoring Default Configuration Files: The -NOCFG Switch
  1230.         ───────────────────────────────────────────────────────
  1231.         Here's the situation: You have created a 4BOOK.CFG file and placed
  1232.         it somewhere in your DOS path so that 4Book will always process it. 
  1233.         However, for the booklet you now want to print, you don't want to
  1234.         use any of the options or boilerplate text contained in 4BOOK.CFG.
  1235.  
  1236.         To prevent 4Book from processing 4BOOK.CFG, you can either rename
  1237.         4BOOK.CFG to something else, move it to a directory not in your DOS
  1238.         path, or use the "-nocfg" option.  
  1239.  
  1240.         When 4Book sees the "-nocfg" option, it removes any configuration
  1241.         files from the command line which it has constructed as of that
  1242.         moment.  Since 4BOOK.CFG and any configuration files contained in
  1243.         the "4BOOK" environment variable are treated as if they were at-
  1244.         tached to the *beginning* of the command line, the "-nocfg" option
  1245.         will prevent default configuration files from being processed.
  1246.  
  1247.         On the other hand, configuration files which *follow* the "-nocfg"
  1248.         option *will* be processed.  This lets you specify exactly which
  1249.         configuration files, if any, 4Book should use.
  1250.  
  1251.         To clarify all of this, let's look at a few examples:
  1252.  
  1253.  
  1254.      ──────────────────────────────────────────────────────────────────────
  1255.      18                                                 4Print 4.1 Addendum
  1256.  
  1257.  
  1258.            Example 1
  1259.            ─────────
  1260.            Scenario:  4BOOK.CFG is in the current directory or in your DOS
  1261.                       path, and you don't want to use it for this booklet.
  1262.  
  1263.            Commands:  C>4print <filename> -nocfg
  1264.  
  1265.            Example 2
  1266.            ─────────
  1267.            Scenario:  You're working on a network, and 4BOOK.CFG is in a
  1268.                       directory contained in everyone's DOS path.  You also
  1269.                       have a configuration file called MYOPTS.CFG, contain-
  1270.                       ing options that only you use, specified in your
  1271.                       4BOOK environment variable.  For this booklet, you
  1272.                       want to use a configuration file, called SPECIAL.CFG,
  1273.                       that is contained in the current directory, instead
  1274.                       of the two default configuration files.
  1275.  
  1276.            Commands:  C>4print <filename> -nocfg +special.cfg
  1277.  
  1278.            Example 3
  1279.            ─────────
  1280.            Scenario:  Same as Example 2 above, but you only want 4Book to
  1281.                       disregard 4BOOK.CFG, while still processing the con-
  1282.                       figuration file contained in the environment variable
  1283.                       (MYOPTS.CFG).  To do this, you add MYOPTS.CFG back to
  1284.                       the command line *after* "-nocfg".
  1285.  
  1286.            Commands:  C>4print <filename> -nocfg +myopts.cfg +special.cfg
  1287.  
  1288.                       As you can see from Example 3, you can use "-nocfg"
  1289.                       to "clean the slate", and then specify which con-
  1290.                       figuration files you want 4Book to process.
  1291.  
  1292.  
  1293.      ──────────────────────────────────────────────────────────────────────
  1294.      Other 4Book Options
  1295.  
  1296.      Certain 4Book/4Print options should always be used if they apply to
  1297.      you:
  1298.  
  1299.          -a4     Tell 4Print that you're using A4 size (European) paper
  1300.          -dj     Specify that you're using a DeskJet printer
  1301.          -d      Specify that you're using a duplex printer
  1302.          -z      Tell 4Print to ignore EOF characters in your document
  1303.  
  1304.      You may want to consider using other 4Print options with 4Book:
  1305.  
  1306.          -L      Take paper from the lower tray
  1307.          -Lu     Print the front side using the lower tray, and the reverse
  1308.                  side using the upper tray
  1309.  
  1310.  
  1311.  
  1312.      ──────────────────────────────────────────────────────────────────────
  1313.      4Book User's Guide                                                  19
  1314.  
  1315.  
  1316.          -m      Put the printer into manual mode before printing the re-
  1317.                  verse side
  1318.          -n[#]   Print line numbers before each line of text
  1319.          -o      Re-direct 4Print's output to a device other than PRN
  1320.          -tab#   Convert tab characters to the specified number of spaces
  1321.          -u      Bypass 4Print's prompts
  1322.          -vc     Vertically compress the document
  1323.          -ve     Vertically expand the document
  1324.          -x#     Print the specified number of copies
  1325.          -zw     Zap the "KA 4PRINT" watermark
  1326.          -#n     Use the specified soft font
  1327.          -[      Tell 4Print to process the following font selection string
  1328.  
  1329.      Other 4Print options may be useful in certain circumstances.  Some may
  1330.      produce undesirable results.  Please refer to the 4Print User's Guide
  1331.      for a detailed explanation of these options.
  1332.  
  1333.      In the remainder of this section, we'll describe certain options which
  1334.      you should consider using with 4Book.
  1335.  
  1336.         Printing in Reverse Page Order: the -R and -RF Switches
  1337.         ───────────────────────────────────────────────────────
  1338.         4Print and 4Book now have advanced paper handling features which
  1339.         will allow you to obtain perfectly collated, double-sided printouts
  1340.         without manually shuffling any pages, even on non-duplex printers.
  1341.  
  1342.         See the section entitled "Advanced Paper Handling Features" for
  1343.         information about using these options.
  1344.  
  1345.         Don't "Squash" the Font!: the -SQ- Switch
  1346.         ─────────────────────────────────────────
  1347.         One of our goals in creating 4Book was to make it easy to create a
  1348.         document that could be cut in half and placed into an IBM-style 3-
  1349.         ring binder.  To prevent the punched holes from overlapping the
  1350.         text, 4Book uses a left indent of 6 spaces.  In order to fit 80
  1351.         characters on a line, 4Book uses a "squashed" font, which slightly
  1352.         reduces the amount of space between each character.
  1353.  
  1354.         If your document doesn't contain any lines which exceed 74 charac-
  1355.         ters, you may reclaim this space by using the "-sq-" option, which
  1356.         tells 4Book not to use the squashed font.
  1357.  
  1358.         ┌────────────────────────────────────────────────────────────────┐
  1359.         │  Tip: The shareware soft fonts included with 4Print are        │█
  1360.         │  designed to be squashed.  See README.DOC for details.         │█
  1361.         │                                                                │█
  1362.         └────────────────────────────────────────────────────────────────┘█
  1363.          ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
  1364.  
  1365.  
  1366.  
  1367.  
  1368.  
  1369.  
  1370.      ──────────────────────────────────────────────────────────────────────
  1371.      20                                                 4Print 4.1 Addendum
  1372.  
  1373.  
  1374.         Duplex Printing: the -D Switch
  1375.         ──────────────────────────────
  1376.         If you have a duplex printer, such as the HP IID or IIID, and use
  1377.         the "-d" option, 4Print will print both sides of the booklet in a
  1378.         single pass by telling the duplex printer to print on both sides of
  1379.         the paper.
  1380.  
  1381.         Since there would never be any reason *not* to use duplex mode,
  1382.         you'll probably want to include the "-d" option in either the 4Book
  1383.         environment variable, or in your 4Book configuration file.  Note
  1384.         that you *do not* need to specify the duplex option to 4Book if it
  1385.         is already included in the 4Print environment variable.
  1386.  
  1387.         Unattended Operation: the -BU Switch
  1388.         ────────────────────────────────────
  1389.         After scanning the input file, 4Book prompts you to confirm that
  1390.         you want to continue.  If you'd like to bypass this prompt, use the
  1391.         "-bu" option.
  1392.  
  1393.         Please note that 4Book's "-bu" option is *not* the same as 4Print's
  1394.         "-u" option, which tells 4Print not to pause between printing the
  1395.         front side and printing the back side.
  1396.  
  1397.         ┌────────────────────────────────────────────────────────────────┐
  1398.         │  Tip: For completely unattended operation on a non-duplex      │█
  1399.         │  printer, add "-bu --u --m" to the 4Book command line.  This   │█
  1400.         │  combination of options avoids all 4Book and 4Print prompts    │█
  1401.         │  and puts your printer in manual mode for the reverse side.    │█
  1402.         │  See "Tricky Tip" in the "Unattended Mode: The -U Switch"      │█
  1403.         │  section in Chapter Five of the 4Print User's Guide for a way  │█
  1404.         │  to use the unattended mode and still print both sides using   │█
  1405.         │  the cassette feeder.                                          │█
  1406.         │                                                                │█
  1407.         └────────────────────────────────────────────────────────────────┘█
  1408.          ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
  1409.  
  1410.  
  1411.         Bypassing End-Of-File Characters: the -Z Switch
  1412.         ───────────────────────────────────────────────
  1413.         If a file contains a Ctrl-Z character (Hex 1A or Decimal 26), 4Book
  1414.         considers the file to end just before this character.  This is
  1415.         because Ctrl-Z was used in the CP/M operating system to indicate
  1416.         EOF (end-of-file), and many MS-DOS programs still manipulate files
  1417.         using this convention.
  1418.  
  1419.         Most ASCII files won't contain Ctrl-Z characters which mean any-
  1420.         thing other than EOF, but for those few pesky ones which do, use
  1421.         the "-z" option:
  1422.  
  1423.  
  1424.  
  1425.  
  1426.  
  1427.  
  1428.      ──────────────────────────────────────────────────────────────────────
  1429.      4Book User's Guide                                                  21
  1430.  
  1431.  
  1432.            C>4book myfile -z
  1433.  
  1434.              The file will be printed to its full DOS file length.  Any
  1435.              Ctrl-Z characters in the file will be printed as "?".
  1436.  
  1437.         If 4Book seems to be printing only part of your document, try using
  1438.         the "-z" option.  It almost certainly won't hurt (although you
  1439.         might see some garbage at the end of your printout), and it might
  1440.         get your whole document printed.
  1441.  
  1442.  
  1443.  
  1444.  
  1445.  
  1446.  
  1447.  
  1448.  
  1449.  
  1450.  
  1451.  
  1452.  
  1453.  
  1454.  
  1455.  
  1456.  
  1457.  
  1458.  
  1459.  
  1460.  
  1461.  
  1462.  
  1463.  
  1464.  
  1465.  
  1466.  
  1467.  
  1468.  
  1469.  
  1470.  
  1471.  
  1472.  
  1473.  
  1474.  
  1475.  
  1476.  
  1477.  
  1478.  
  1479.  
  1480.  
  1481.  
  1482.  
  1483.  
  1484.  
  1485.  
  1486.      ──────────────────────────────────────────────────────────────────────
  1487.      22                                                 4Print 4.1 Addendum
  1488.  
  1489.  
  1490.  
  1491.  
  1492.  
  1493.  
  1494.  
  1495.  
  1496.  
  1497.  
  1498.  
  1499.  
  1500.  
  1501.  
  1502.  
  1503.  
  1504.  
  1505.  
  1506.  
  1507.  
  1508.  
  1509.  
  1510.  
  1511.      Appendix F
  1512.      ──────────────────────────────────────────────────────────────────────
  1513.      Additional Trouble-Shooting Guide
  1514.  
  1515.      This appendix should be considered as an adjunct to "Appendix A:
  1516.      Trouble-Shooting Guide" in the main 4Print User's Guide.  It contains
  1517.      information about common problems our users have encountered along
  1518.      with suggested solutions.
  1519.  
  1520.        Q: During the scan pass I received an Error 204.  What causes this?
  1521.  
  1522.        A: Error 204 is a memory overflow.  4Print's internal buffer can
  1523.           handle approximately 8,000 bytes of data at a time.  If, during
  1524.           the processing, 4Print overflows this buffer, this error will
  1525.           occur.  
  1526.  
  1527.           First see if you have 160k of free memory on your system to run
  1528.           4Print.  If so, check the document that you are using.  Some word
  1529.           processors handle blank lines by filling them with 80 characters
  1530.           of blanks.  Either delete these lines or replace them with a
  1531.           carriage return/line feed combination. 
  1532.  
  1533.        Q: I was printing to a file with the "-o" option when I received an
  1534.           Error 206 message.  What went wrong?
  1535.  
  1536.        A: You did not have enough disk space to complete the process.  If
  1537.           you are printing to a floppy disk, use a new one.  If you are
  1538.           outputting to a hard disk, check the available disk space.
  1539.  
  1540.           Also, if you use the "-r" or "-rf" options, type SET at the DOS
  1541.           prompt and check to see if you have environment variables TEMP or
  1542.  
  1543.  
  1544.      ──────────────────────────────────────────────────────────────────────
  1545.      Additional Trouble-Shooting Guide                                   23
  1546.  
  1547.  
  1548.           TMPDIR specified.  4Print uses these variables to determine where
  1549.           to place its temporary files.  It is possible that your TEMP
  1550.           variable specifies a RAM disk of limited size which is overflow-
  1551.           ing; the solution is to type "SET 4TEMP=." at the DOS prompt (or
  1552.           add the line to your AUTOEXEC.BAT) to explicitly tell 4Print to
  1553.           create its temporary files in your default directory.
  1554.       
  1555.        Q: I use 4Print while in DESQview.  Every time I 4Print, the page
  1556.           sequence is out of order and I wind up with an extra sheet of
  1557.           paper.  What am I doing wrong?
  1558.  
  1559.        A: Please see "Appendix H: Using 4Print with DESQview."
  1560.  
  1561.        Q: I have an HP IIISi printer with PostScript mode as the default. 
  1562.           After sending the software string to switch to the PCL printer
  1563.           language I try 4Print but nothing comes out of the printer.
  1564.  
  1565.        A: Check the string that enables the specified language.  At the end
  1566.           of the string make sure there is a blank space, followed by a
  1567.           line feed character <LF>.
  1568.  
  1569.           Novell network users with queues for PostScript and PCL languages
  1570.           should have the Network Supervisor try the following:
  1571.  
  1572.                run PRINTDEF
  1573.  
  1574.           In the string enabling the PCL printer language, add a blank
  1575.           space and line feed character <LF>.
  1576.  
  1577.        Q: When I use 4Print with my HP-compatible printer, one to three
  1578.           large vertical bands appear on the output, obscuring the text.
  1579.  
  1580.        A: Some HP-compatibles have trouble interpreting certain PCL com-
  1581.           mands.  This particular problem happens because your printer
  1582.           cannot handle graphic commands accurately.  Try 4Printing with
  1583.           the "-fn" or "-f=" option.  (See "Frame Styles" in Chapter Four
  1584.           of the 4Print User's Guide.)
  1585.  
  1586.        Q: On my HP-compatible, the text fits within the frame but the
  1587.           letters overlap.
  1588.  
  1589.        A: Your printer does not have an internal landscape line printer
  1590.           font.  You must either use a cartridge with a landscape line
  1591.           printer font, or download the Letter Gothic font included with
  1592.           this package.  See "Fonts and Control Codes" in Chapter Six of
  1593.           the 4Print User's Guide, and refer to README.DOC for instructions
  1594.           on how to download the included fonts.
  1595.  
  1596.        Q: Using 4Print on my HP-compatible with the default settings causes
  1597.           the text to overflow past the frames.
  1598.  
  1599.  
  1600.  
  1601.  
  1602.      ──────────────────────────────────────────────────────────────────────
  1603.      24                                                 4Print 4.1 Addendum
  1604.  
  1605.  
  1606.        A: Your printer cannot handle Horizontal Motion Index (HMI) codes
  1607.           properly.  We have added a switch "-HMI-" to bypass HMI control
  1608.           codes.  This will give you the same output as the "-PR" switch
  1609.           but will properly wrap lines of more than 80 characters.
  1610.  
  1611.        Q: Using my HP-compatible, the bottom of my even page output is
  1612.           missing the header information.
  1613.  
  1614.        A: The margins of your printer are smaller than those of the HP
  1615.           LaserJet.  Try the "-VC" command line option to compress the
  1616.           vertical size of the 4Print page.  Refer to the "Vertical Com-
  1617.           pression" section in Chapter Five of the 4Print User's Guide.
  1618.  
  1619.  
  1620.      As always, if you are experiencing a problem with 4Print, call us at 
  1621.      1-212-242-1790, Mondays through Fridays, between the hours of 10AM and
  1622.      5PM Eastern time, leave a message in our support forum on CompuServe,
  1623.      PCVENB Section 3, or on The Consultant BBS at 1-718-837-3236.
  1624.  
  1625.  
  1626.  
  1627.  
  1628.  
  1629.  
  1630.  
  1631.  
  1632.  
  1633.  
  1634.  
  1635.  
  1636.  
  1637.  
  1638.  
  1639.  
  1640.  
  1641.  
  1642.  
  1643.  
  1644.  
  1645.  
  1646.  
  1647.  
  1648.  
  1649.  
  1650.  
  1651.  
  1652.  
  1653.  
  1654.  
  1655.  
  1656.  
  1657.  
  1658.  
  1659.  
  1660.      ──────────────────────────────────────────────────────────────────────
  1661.      Additional Trouble-Shooting Guide                                   25
  1662.  
  1663.  
  1664.  
  1665.  
  1666.  
  1667.  
  1668.  
  1669.  
  1670.  
  1671.  
  1672.  
  1673.  
  1674.  
  1675.      Appendix G
  1676.      ──────────────────────────────────────────────────────────────────────
  1677.      Using 4Print With Legal Size Paper
  1678.  
  1679.      4Print was designed to print on letter size or A4 paper. However, if
  1680.      you are willing to do without the frame which 4Print normally draws
  1681.      around your text, you can use legal size (8.5" x 14") paper to print
  1682.      up to 306 characters per line.
  1683.  
  1684.      As 4Print scans your document, it counts the characters in each line. 
  1685.      If the number of characters in a line exceeds the number of characters
  1686.      which can be printed in the column (based upon the specified combina-
  1687.      tion of the number of columns, the font size to be used, and whether
  1688.      or not the font will be "squashed"), 4Print will either "wrap" the
  1689.      extra characters onto the next line (the default) or truncate them (if
  1690.      you've used the "-t" option).
  1691.  
  1692.      If you tell 4Print that you are using a proportional font, using the
  1693.      "-pr" option, 4Print is smart enough to realize that it can't deter-
  1694.      mine how many characters will fit on each line, and will simply print
  1695.      as many characters as the line contains.  This is the feature we will
  1696.      use to "fake out" 4Print into printing to the end of a legal size
  1697.      sheet of paper.
  1698.  
  1699.      4Print still thinks that the page is 11 inches long, and will print
  1700.      both the frame and the "KA 4PRINT" watermark where it always does. 
  1701.      In order to avoid obscuring your text, you must turn off these two
  1702.      features, using the "-f0" and "-zw" options, respectively.
  1703.  
  1704.      Additionally, the page header will still be printed in the same
  1705.      position, centered on an 11 inch long page.  You may want to either
  1706.      suppress the header, or use a custom header that is left-padded with
  1707.      blank spaces.
  1708.  
  1709.      Let's look at some examples.  Each of these 4Print command lines will
  1710.      print each line in the document to the end of the line (i.e. until a
  1711.      carriage return character appears).  Characters which would otherwise
  1712.      have been "wrapped" onto the next line will now be truncated.  The
  1713.      frame will be suppressed, as will the "KA 4PRINT" watermark:
  1714.  
  1715.  
  1716.  
  1717.  
  1718.      ──────────────────────────────────────────────────────────────────────
  1719.      26                                                 4Print 4.1 Addendum
  1720.  
  1721.  
  1722.         C>4print widefile -pr -f0 -zw
  1723.  
  1724.           Print up to 221 characters on each line, using 4Print's standard
  1725.           line printer font (16.67 characters per inch).
  1726.  
  1727.         C>4print widefile -pr -f0 -zw -tiny
  1728.  
  1729.           Print up to 306 characters on each line, using 4Print's tiny font
  1730.           (23 characters per inch).
  1731.  
  1732.         C>4print widefile -pr -f0 -zw -h
  1733.  
  1734.           Print up to 221 characters on each line, using 4Print's standard
  1735.           line printer font.  Suppress the header line.
  1736.  
  1737.         C>4print widefile -pr -f0 -zw -h"                  WIDEFILE"
  1738.  
  1739.           Same as above, but using a custom header which is left-padded
  1740.           with blank spaces to center the header on a 14" long page.
  1741.  
  1742.      Keep in mind that the paper size setting of your printer is not under
  1743.      4Print's control.  None of these commands will set up your printer to
  1744.      use a different size of paper.  You *must* tell your printer that the
  1745.      paper it is printing on is 14" long.  You do this either by using a
  1746.      legal-size paper tray, or by changing the menu setting for paper size
  1747.      from the default of LETTER to LEGAL.  Consult your printer manual if
  1748.      you don't know how to do this.
  1749.  
  1750.      If you don't set the proper paper size, a paper jam will result!
  1751.  
  1752.  
  1753.  
  1754.  
  1755.  
  1756.  
  1757.  
  1758.  
  1759.  
  1760.  
  1761.  
  1762.  
  1763.  
  1764.  
  1765.  
  1766.  
  1767.  
  1768.  
  1769.  
  1770.  
  1771.  
  1772.  
  1773.  
  1774.  
  1775.  
  1776.      ──────────────────────────────────────────────────────────────────────
  1777.      Using 4Print with Legal Size Paper                                  27
  1778.  
  1779.  
  1780.  
  1781.  
  1782.  
  1783.  
  1784.  
  1785.  
  1786.  
  1787.  
  1788.  
  1789.  
  1790.  
  1791.      Appendix H
  1792.      ──────────────────────────────────────────────────────────────────────
  1793.      Using 4Print With DESQview
  1794.  
  1795.      Those using 4Print in DESQview may encounter a problem with an extra
  1796.      page that causes havoc with the 4Print reverse side printing.
  1797.  
  1798.      The following patch, reprinted here with permission from Quarterdeck,
  1799.      should fix the problem.
  1800.  
  1801.         Quarterdeck Technical Note by Stan Young - Patching the DESQview
  1802.         Printer Contention driver to remove the automatic formfeed: 
  1803.  
  1804.         Background: One of the features of DESQview 2.+ is the ability to
  1805.         manage printer contention.  What this means is that if you are in
  1806.         one window outputting something to the printer and then switch
  1807.         windows and accidentally start a print to the same printer,
  1808.         DESQview Printer Contention will step in and interrupt the second
  1809.         task until the first has finished. Some users will want to have
  1810.         this option on, others will find it not too useful.  However, if
  1811.         you have it on, you may notice that you sometimes get extra form-
  1812.         feeds.  This is because Printer Contention tries to be sure an
  1813.         application that has done a print has moved the printer to the top
  1814.         of form before allowing another print to occur.  Otherwise, you
  1815.         could end up with the second print starting at the bottom of the
  1816.         last page of the previous print.  Therefore, Printer Contention
  1817.         sends a formfeed to be sure the printer is a top of form.
  1818.  
  1819.         Since many programs do not close out the printer in a way that
  1820.         Printer Contention can detect that the printer is a top of form,
  1821.         you can end up with a lot of blank, ejected sheets when you use
  1822.         DESQview Printer Contention.  Eventually, we may offer some sort of
  1823.         switch to allow the users to select the formfeed option or not, but
  1824.         at present, it is possible to patch the driver to eliminate the
  1825.         formfeed. 
  1826.  
  1827.                                  THE PATCH
  1828.  
  1829.         First, make sure you have a PATH set to your DEBUG.COM file which
  1830.         is part of your DOS files and is usually located in your DOS direc-
  1831.         tory.  Switch to the DESQview directory and type in the following
  1832.         to start DEBUG and load the DESQview Printer Contention driver:
  1833.  
  1834.      ──────────────────────────────────────────────────────────────────────
  1835.      28                                                 4Print 4.1 Addendum
  1836.  
  1837.  
  1838.            C:\DV>debug rmgrdv.dvr
  1839.  
  1840.         After loading, DEBUG returns a minus sign (-) as a prompt.
  1841.  
  1842.         First, we will find the spot where the Printer Contention driver
  1843.         outputs the formfeed.  Type in the following: 
  1844.  
  1845.            -s0 1000 50 b8 0c 00        <--- Hit <Enter>
  1846.  
  1847.         Debug will display something like the following.  The part that is
  1848.         shown as xxxx will be some hex number that we are not concerned
  1849.         with.  The number after the colon is the one we are concerned with
  1850.         and may or may not be the "03E2" figure that is shown below.  What
  1851.         ever is returned on your machine after the colon on your machine is
  1852.         the number to use.  If no such number is returned and you are
  1853.         returned to the "-" prompt, you probably entered something incor-
  1854.         rectly (type q to quit and start again). 
  1855.  
  1856.            xxxx:03E2
  1857.  
  1858.         Type in the following.  If the number your machine returned after
  1859.         the colon was different than 03E2, substitute the number returned
  1860.         where it says 03e2 below:
  1861.  
  1862.            -e03e2
  1863.  
  1864.         You will get a display similar to the one below except the display
  1865.         will be paused after the "50." and will be waiting for input.  Type
  1866.         in the "EB" and hit the space bar.  Debug will then tab over and
  1867.         display "B8" and again pause for input.  Type in "0A" and hit the
  1868.         Enter key. 
  1869.  
  1870.            413C:03E2  50.EB   B8.0A
  1871.                          ^       ^   <--Type hex numbers starting at carets
  1872.  
  1873.         The "-" prompt will be returned by Debug.  Type "w" to write out
  1874.         the change and hit Enter.
  1875.  
  1876.            -w
  1877.  
  1878.         Debug will indicate that it is writing out the change.
  1879.  
  1880.            Writing xxx bytes
  1881.  
  1882.         Type "q" to quit out of Debug.
  1883.  
  1884.            -q
  1885.  
  1886.         You will get the DOS prompt and you are done.  Now restart DESQview
  1887.         and you should not get extra formfeeds.
  1888.  
  1889.  
  1890.  
  1891.  
  1892.      ──────────────────────────────────────────────────────────────────────
  1893.      Using 4Print with DESQview                                          29
  1894.  
  1895.  
  1896.  
  1897.  
  1898.  
  1899.  
  1900.  
  1901.  
  1902.  
  1903.  
  1904.  
  1905.  
  1906.  
  1907.      Appendix I
  1908.      ──────────────────────────────────────────────────────────────────────
  1909.      Real Life 4Book Example
  1910.  
  1911.      The following example of using 4Book to create a neighborhood associa-
  1912.      tion telephone book was provided by Ron VanAbrahams, who also contrib-
  1913.      uted most of the sayings in the SAYINGS.TXT file included with the
  1914.      4Print 4.1 package.  Many thanks to Ron for all his help.
  1915.  
  1916.            NOTE:  This application note assumes you are not a novice com-
  1917.                   puter user and have a fair understanding of WordPerfect.
  1918.  
  1919.         There are about 80 members of our Village Association.  We have
  1920.         traditionally published a listing of each neighbor's name and
  1921.         address, as well as emergency contact and other vital information;
  1922.         it is updated several times a year.
  1923.  
  1924.         This was a computer-based application even before 4Book came along,
  1925.         but it required a lot of single-sheet feeding into the LaserJet,
  1926.         then stapling and folding in order to make a convenient-sized tele-
  1927.         phone book.  4Book simplifies the process, and produces much more
  1928.         attractive booklets.
  1929.  
  1930.         Since the database was initially developed in WordPerfect 5.1
  1931.         ("WP") as a "mail-merge" application, we simply made some adapta-
  1932.         tions to that process to utilize 4Book's superior booklet format-
  1933.         ting and paper handling.
  1934.  
  1935.         The database (the "secondary" file) is merged with a file (the
  1936.         "primary" file) to produce the desired layout.  Because 4BOOK
  1937.         requires that its input be in ASCII format, while WP files are in
  1938.         binary format, we "print" using the DOS Text printer driver which
  1939.         is supplied on your WP printer driver diskettes (see your WP manual
  1940.         for more information).  Note:  This printer must be set up before
  1941.         you start the mail merge.
  1942.  
  1943.         Immediately following the merge operation--do not F7(Save) the
  1944.         file--press Shift-F7(Print), S(Select).  Highlight the DOS Text
  1945.         Printer and press E(Edit) then P(Port) then O(Other).  Now type in
  1946.         the name of the ASCII file you'll use with 4BOOK (we use
  1947.         FRIENDS.TXT) and press Enter.  Now, press F7(Exit) successively
  1948.  
  1949.  
  1950.      ──────────────────────────────────────────────────────────────────────
  1951.      30                                                 4Print 4.1 Addendum
  1952.  
  1953.  
  1954.         until you return to the merged document.  Be sure to S(Select) the
  1955.         DOS Text Printer as you exit.
  1956.  
  1957.         Now, when you print the merge file, the output will be sent to a
  1958.         pure ASCII file on your default directory.  Exit WP without
  1959.         F7(Sav)ing.  (Remember: Restore all the options you changed under
  1960.         ShiftF7(Print) before you try to use WP again!) 
  1961.  
  1962.         We use a configuration file that sets up 4Book to make a standard
  1963.         cover and enters other information we always want to be included. 
  1964.         The boiler-plate file is an ASCII file called FRIENDS.CFG.  (Be
  1965.         sure to disable 4BOOK.CFG with the -nocfg option if it contains any
  1966.         unwanted options.)
  1967.  
  1968.         Here is what's in FRIENDS.CFG:
  1969.          
  1970.              FRIENDS.CFG
  1971.              ============================================== 
  1972.              .options -bcBook -bcNoFooter -bcSunrise -bt"OUR//NEIGHBORS"
  1973.  
  1974.              .front bottom center block
  1975.                   CONFIDENTIAL
  1976.              Please do not distribute
  1977.              This directory is for the 
  1978.                   EXCLUSIVE USE
  1979.                of the residents of
  1980.                 OUR NICE VILLAGE
  1981.  
  1982.              .back inside center block
  1983.              ╒═════════════════════════════╕
  1984.              │  Please forward additions,  │
  1985.              │ updates and corrections to: │
  1986.              │                             │
  1987.              │         The Folks           │
  1988.              │    1234 Mugwump Circle      │
  1989.              │    49'er City, CA 44444     │
  1990.              │       (123)456-7890         │
  1991.              ╘═════════════════════════════╛
  1992.  
  1993.              .blank pages, top center
  1994.              ┌───────────────────────────────────┐
  1995.              │               Notes               │
  1996.              └───────────────────────────────────┘
  1997.  
  1998.              .text
  1999.              ==============================================
  2000.  
  2001.  
  2002.         We call 4Book from a batch file so that command line entries are
  2003.         always correct.  Using DOS variables in the batch file, we can
  2004.         change the number of copies to print and other information.  
  2005.  
  2006.  
  2007.  
  2008.      ──────────────────────────────────────────────────────────────────────
  2009.      Real Life 4Book Example                                             31
  2010.  
  2011.  
  2012.         Here's the batch file:
  2013.  
  2014.         FRIENDS.BAT
  2015.         ==============================================
  2016.         4book friends.txt +friends.cfg %1 %2 %3
  2017.         ==============================================
  2018.  
  2019.         The batch file calls 4Book, which opens FRIENDS.TXT and prints out
  2020.         the best looking Village Association Telephone Book, anywhere.
  2021.           
  2022.         To be sure, there are a lot of steps, but they are really very
  2023.         straight-forward once you've done them.  This approach combines the
  2024.         power of WordPerfect's mail merge feature, and its excellent for-
  2025.         matting capabilities, with the slick booklet printing features of
  2026.         4Print and 4Book.
  2027.  
  2028.         Ron VanAbrahams
  2029.         CIS 76414,270
  2030.  
  2031.  
  2032.  
  2033.  
  2034.  
  2035.  
  2036.  
  2037.  
  2038.  
  2039.  
  2040.  
  2041.  
  2042.  
  2043.  
  2044.  
  2045.  
  2046.  
  2047.  
  2048.  
  2049.  
  2050.  
  2051.  
  2052.  
  2053.  
  2054.  
  2055.  
  2056.  
  2057.  
  2058.  
  2059.  
  2060.  
  2061.  
  2062.  
  2063.  
  2064.  
  2065.  
  2066.      ──────────────────────────────────────────────────────────────────────
  2067.      32                                                 4Print 4.1 Addendum
  2068.  
  2069.  
  2070.  
  2071.  
  2072.  
  2073.  
  2074.  
  2075.  
  2076.  
  2077.  
  2078.  
  2079.  
  2080.  
  2081.      Appendix J
  2082.      ──────────────────────────────────────────────────────────────────────
  2083.      4Shell and 4Script
  2084.  
  2085.      4Shell is a Microsoft Windows application written by ZPay Payroll
  2086.      Systems which will control and operate 4Print and 4Book under Windows,
  2087.      providing an easy-to-use menu interface familiar to Windows users.  If
  2088.      you ordered the 4Print Windows Version from Korenthal Associates, you
  2089.      received separate documentation for 4Shell.  You can also order 4Shell
  2090.      as a separate product from either Korenthal Associates or ZPay Payroll
  2091.      Systems.  Please call for details.
  2092.  
  2093.      4Script is a PostScript version of 4Print/4Book currently under devel-
  2094.      opment at Korenthal Associates.  We are planning to offer special
  2095.      prices to 4Print customers who wish to use 4Script on their PostScript
  2096.      printers.  Please call for availability and price.
  2097.  
  2098.  
  2099.  
  2100.  
  2101.  
  2102.  
  2103.  
  2104.  
  2105.  
  2106.  
  2107.  
  2108.  
  2109.  
  2110.  
  2111.  
  2112.  
  2113.  
  2114.  
  2115.  
  2116.  
  2117.  
  2118.  
  2119.  
  2120.  
  2121.  
  2122.  
  2123.  
  2124.      ──────────────────────────────────────────────────────────────────────
  2125.      4Shell and 4Script                                                  33
  2126.  
  2127.